#ifndef LB_ADDBOOK_H
#define LB_ADDBOOK_H

#include <QDialog>
#include "bookdata.h"

namespace Ui {
class LB_addbook;
}

class LB_addbook : public QDialog
{
    Q_OBJECT

public:
    explicit LB_addbook(QWidget *parent = nullptr);
    ~LB_addbook();

    void writeToFile(QString cnt);//传入一个字符串
    void clearUserInterFace();
    bool checkTimeWrongOrNot(QString date);

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::LB_addbook *ui;
};

#endif // LB_ADDBOOK_H
